package com.woniuxy.order.mapper;

import com.woniuxy.order.entity.WasteType;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2025-05-13
 */
@Mapper
public interface WasteTypeMapper extends BaseMapper<WasteType> {
    @Select("SELECT * FROM zsd_waste.waste_type WHERE waste_type_name LIKE CONCAT('%', #{name}, '%')")
    WasteType getWasteTypeByName(String name);
}
